LearningSession.GetTableOfContents Method (bool)

Gets the table of contents information for the activity tree of the current session.

Parent Type: LearningSession

Namespace: Microsoft.LearningComponents

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public TableOfContentsElement GetTableOfContents (
bool evaluateSequencingRules

)

Parameters

evaluateSequencingRules

If true, the sequencing rules are evaluated against the current state of the session to determine which activities are available for navigation.

Return Value

The root node of the table of contents.

Remarks

Each time GetTableOfCOntents is called, the table of contents may be reloaded from its source. This may be a lengthly operation.

If evaluateSequencingRules is true, the results may only be valid until any data is changed in the data model of the session.